package com.cd.university.db.mapper.dictionary;

import com.cd.university.db.pojo.dictionary.Periodical;
import com.cd.university.service.DictionaryProcessorHolder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PeriodicalMapper extends DictionaryProcessorHolder {
    int deleteByPrimaryKey(Integer periodicalId);

    int insert(Periodical record);

    int insertSelective(Periodical record);

    Periodical selectByPrimaryKey(Integer periodicalId);

    int updateByPrimaryKeySelective(Periodical record);

    int updateByPrimaryKey(Periodical record);

    public List<Periodical> searchAll();
}
